package com.erp.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/1/5/005.
 * 作者：刘洋
 */
public class ImgBean implements Parcelable {
    /**
     * imguri         图片地址
     * imgid          图片id
     * imgtime        图片上传时间
     */
    private String imguri="";
    private String imgid="";
    private String imgtime="";
    public String data = "";
    public String getImguri() {
        return imguri;
    }

    public void setImguri(String imguri) {
        this.imguri = imguri;
    }

    public String getImgid() {
        return imgid;
    }

    public void setImgid(String imgid) {
        this.imgid = imgid;
    }

    public String getImgtime() {
        return imgtime;
    }

    public void setImgtime(String imgtime) {
        this.imgtime = imgtime;
    }

    @Override
    public String toString() {
        return "imgbean{" +
                "imguri='" + imguri + '\'' +
                ", imgid='" + imgid + '\'' +
                ", imgtime='" + imgtime + '\'' +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.imguri);
        dest.writeString(this.imgid);
        dest.writeString(this.imgtime);
    }

    public ImgBean() {
    }

    protected ImgBean(Parcel in) {
        this.imguri = in.readString();
        this.imgid = in.readString();
        this.imgtime = in.readString();
    }

    public static final Creator<ImgBean> CREATOR = new Creator<ImgBean>() {
        public ImgBean createFromParcel(Parcel source) {
            return new ImgBean(source);
        }

        public ImgBean[] newArray(int size) {
            return new ImgBean[size];
        }
    };
}
